Parameter Examples

The following table provides configuration examples using parameters.

Parameter Examples

Message
Type

Condition

Action
Subject

Action Type

Action
Value

Description

 

 

header.contact.url.ac-int

Modify

param.message.address.src.sipinterface

Adds the ID number of the SIP Interface on which the message is received, to the value of the "ac-int" parameter in the URL of the Contact header.

 

param.message.sdp.
address == '10.132.10.101'

header.IPSource

Add

param.ipg.src.id

If the address in the SDP is 10.132.10.101, the SIP header "IPSource" is added and set to the value of the Index of the source IP Group.

invite.response.200

param.message.sdp.
rtpmode=='inactive'

header.origin

Add

param.message.
sdp.originaddress

In 200 OK messages, if the RTP mode is inactive, add a new header, "origin" whose value is set to the address in the origin ('o=') SDP

 

param.message.sdp.
rtpmode== 'inactive'

header.from.param.origin

Add

param.message.sdp.originaddress

If the RTP mode is inactive, add a new parameter, "origin" to the From header. The value of the parameter is set to the 'o=' address in the SDP.

subscribe.
request

 

header.to.param.user

Add

param.call.src.user

In SUBSCRIBE messages, add the parameter, "user" to the To header. The value is set to the source username.

invite.response

 

header.request-uri.url.param.myname

Add

param.ipg.src.host

For INVITE responses, adds the "myname" parameter to the Request-URI. The parameter value is taken from the 'SIP Group Name' field of the source IP Group.

invite

 

header.MyCustomHeader

Add

param.ipg.dst.user-defined.0

For INVITE messages, add a header called "MyCustomHeader" and whose value is taken from the IPGroup_MsgManUserDef1 field of the destination IP Group.

any.request

 

header.session-expires.refresher

Modify

'1'

Manipulates the 'refresher' parameter to "UAC" in the Session-Expires header (i.e., UAC is doing the refreshing). For example:

Session-Expires: 180;refresher=uac

invite

param.message.sdp.rtpmode=='sendonly' and param.call.dst.nat=='true'

param.message.sdp.rtpmode

Modify

'sendrecv'

If the device determines that the destination of the INVITE message is located behind NAT (param.call.dst.nat=='true'), and the RTP mode in the SDP of the incoming INVITE is 'sendonly' (param.message.sdp.rtpmode=='sendonly'), it changes the RTP mode to 'sendrecv' in the SDP of the outgoing INVITE.

invite

param.ipg.src.tags.city exists

header.City

Add

param.ipg.src.tags.city

For INVITE messages, if the source IP Group has the tag "city", add a header called "City" and set its value to the value of the tag "city".

invite

param.ipg.src.id=='34'

header.X-ID

Add

param.ipg.src.id

For INVITE messages, if the source IP Group ID is 34, add a header called "X-ID" and set its value to the ID of the source IP Group.

invite

param.ipg.src.type=='server'

header.X-Type

Add

param.ipg.src.type

For INVITE messages, if the source IP Group ID type is Server, add a header called "X-Type" and set its value to the Type (i.e., "Server") of the source IP Group.